package com.wang.pojo;


import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

@Aspect
public class AnnocationPointCut {
    @Before("execution(* com.wang.pojo.OrderDaoImpl.*(..))")
    public void before(){
        System.out.println("完成前置增强");
    }
    @After("execution(* com.wang.pojo.OrderDaoImpl.*(..))")
    public void after(){
        System.out.println("完成后置增强");
    }
}
